<script setup lang="ts">
import Son from "./components/Son.vue";
import { ref } from 'vue';
let money = ref (10000)

const pay = (data:number) =>{
   money.value= money.value = data
}
</script>

<template>
  <Son :money="money" @play="pay"></Son>
</template>

<style scoped></style>
